package com.biostime.qdingding.modules.qd.entity;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

import com.biostime.qdingding.common.persistence.DataEntity;

/**
 * 会员用户Entity
 * @author phil
 * @version 2015-11-02
 */
public class Student extends DataEntity<Student> {

	private static final long serialVersionUID = 1L;
	
	private String code;// 学员编号
	private String name;// 学员姓名
	private String nikename;// 学员昵称
	private Date birthday;// 学员出生日期
	private Integer sex;// 性别
	private Integer state;// 学员状态（新学员）
	private String mobile;//手机号
	
	private Center center;//所在中心
	private Member member;//家长
	
	private List<HashMap<String,String>> orders;
	
	private Contract contract;//当前合同
	
	private Date startOn;//查询用 起始时间 
	private Date endOn;//查询用 结束时间
	
	private String level;

	public Student(){
		super();
		//state = 0;
		//nikename = "学员";
		//sex = 1;
	}
	
	public Student(String id){
		super(id);
	}
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getNikename() {
		return nikename;
	}

	public void setNikename(String nikename) {
		this.nikename = nikename;
	}
	
	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	
	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}
	
	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}


	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public List<HashMap<String, String>> getOrders() {
		return orders;
	}

	public void setOrders(List<HashMap<String, String>> orders) {
		this.orders = orders;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Center getCenter() {
		return center;
	}

	public void setCenter(Center center) {
		this.center = center;
	}

	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public Contract getContract() {
		return contract;
	}

	public void setContract(Contract contract) {
		this.contract = contract;
	}

	public Date getStartOn() {
		return startOn;
	}

	public void setStartOn(Date startOn) {
		this.startOn = startOn;
	}

	public Date getEndOn() {
		return endOn;
	}

	public void setEndOn(Date endOn) {
		this.endOn = endOn;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

}



